package ophiux;

public class OphiuxWechatTemplateMessageException extends Exception {

	private String exceptionCode;
	private String exceptionMessage;
	
	public OphiuxWechatTemplateMessageException(){
		
	}
	
	public OphiuxWechatTemplateMessageException(String _exceptionMessage){
		super(_exceptionMessage);
	}
	
	public OphiuxWechatTemplateMessageException(String _exceptionMessage,Throwable cause){
		super(_exceptionMessage, cause);
	}
	
	public OphiuxWechatTemplateMessageException(Throwable cause){
		super(cause);
	}
	
	public OphiuxWechatTemplateMessageException(String _exceptionCode,String _exceptionMessage){
		super(_exceptionCode+":"+_exceptionMessage);
		this.exceptionCode = _exceptionCode;
		this.exceptionMessage = _exceptionMessage;
	}
	
	
	
	
	public String getExceptionCode() {
		return exceptionCode;
	}
	public void setExceptionCode(String exceptionCode) {
		this.exceptionCode = exceptionCode;
	}
	public String getExceptionMessage() {
		return exceptionMessage;
	}
	public void setExceptionMessage(String exceptionMessage) {
		this.exceptionMessage = exceptionMessage;
	}
	
}
